<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false" %> 

<%
String path = request.getContextPath();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
<title></title>
<link href="<%=path %>/images/style.css" rel="stylesheet" type="text/css" />
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
		<meta http-equiv="description" content="This is my page" />
        
        
        <script type='text/javascript' src='<%=path %>/dwr/interface/loginService.js'></script>
		<script type='text/javascript' src='<%=path %>/dwr/engine.js'></script>
		<script type='text/javascript' src='<%=path %>/dwr/util.js'></script>
        <script language="javascript">
           var i=0;
           function zhangjieAll()
           {
               if(i==0)
               {
                   document.getElementById("indicator").style.display="block";
                   loginService.zhangjieTeaAll(callback);
                   i=1;
               }
               
           }
           function callback(data)
           {
               document.getElementById("indicator").style.display="none";
               DWRUtil.addOptions("zhangjie_id",data,"id","name");
           }
           
           function check()
           {
               if(document.formAdd.zhangjie_id.value==0)
               { 
                   alert("请选择课程章节");
                   return false;
               }
               return true;
           }
        </script>
	</head>

<body>

<!--main start -->

<div id="main">
  <jsp:include flush="true" page="/qiantai/inc/incTop2.jsp"></jsp:include>
  
  <!--left panel start -->
  <div id="left">
    <jsp:include flush="true" page="/qiantai/inc/incLeft.jsp"></jsp:include>
  </div>
  <!--left panel end --> 
  <!--right panel start -->
  <div id="right"> 
    <!--rightBotMain start -->
    
    <div class="contactMain"> 
      
      <!--best start --> 
      <!--rightBot start --> 
      <!--rightBot end --> 
      <!--best start -->
      <div id="best1">
        <h2><span>多选题 </span></h2>
			<form action="<%=path %>/timu?type=timuAdd2" name="formAdd" method="post">
				     <table width="98%" align="center" border="0" cellpadding="4" cellspacing="1" bgcolor="#CBD8AC" style="margin-bottom:8px">
					 
						<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
						    <td width="25%" bgcolor="#FFFFFF" align="right">
						         课程章节：
						    </td>
						    <td width="75%" bgcolor="#FFFFFF" align="left">
						        <table border="0">
							           <tr> 
							               <td>  
							                  <select name="zhangjie_id" id="zhangjie_id" onclick="zhangjieAll()">
									              <option value="0">请选择课程章节</option>
									          </select>
							               </td>
							               <td>
							                  <img id="indicator" src="<%=path %>/images/loading.gif" style="display:none"/>
							               </td>
							           </tr>
							    </table>
						    </td>
						</tr>
						<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
						    <td width="25%" bgcolor="#FFFFFF" align="right">
						        题目名称：
						    </td>
						    <td width="75%" bgcolor="#FFFFFF" align="left">
						         <input type="text" name="name" size="50"/>
						    </td>
						</tr>
						<tr align='center' bgcolor="#FFFFFF" id="timuXuanxianga" height="22">
						    <td width="25%" bgcolor="#FFFFFF" align="right">
						        选项A：
						    </td>
						    <td width="75%" bgcolor="#FFFFFF" align="left">
						         <input type="text" name="xuanxianga" size="50"/>
						    </td>
						</tr>
						<tr align='center' bgcolor="#FFFFFF" id="timuXuanxiangb" height="22">
						    <td width="25%" bgcolor="#FFFFFF" align="right">
						        选项B：
						    </td>
						    <td width="75%" bgcolor="#FFFFFF" align="left">
						         <input type="text" name="xuanxiangb" size="50"/>
						    </td>
						</tr>
						<tr align='center' bgcolor="#FFFFFF" id="timuXuanxiangc" height="22">
						    <td width="25%" bgcolor="#FFFFFF" align="right">
						        选项C：
						    </td>
						    <td width="75%" bgcolor="#FFFFFF" align="left">
						         <input type="text" name="xuanxiangc" size="50"/>
						    </td>
						</tr>
						<tr align='center' bgcolor="#FFFFFF" id="timuXuanxiangd" height="22">
						    <td width="25%" bgcolor="#FFFFFF" align="right">
						        选项D：
						    </td>
						    <td width="75%" bgcolor="#FFFFFF" align="left">
						         <input type="text" name="xuanxiangd" size="50"/>
						    </td>
						</tr>
						<tr align='center' bgcolor="#FFFFFF" height="22" id="radioo">
						    <td width="25%" bgcolor="#FFFFFF" align="right">
						        正确答案：
						    </td>
						    <td width="75%" bgcolor="#FFFFFF" align="left">
						     <input name="daan" type="checkbox" value="A" />A   
						     <input name="daan" type="checkbox" value="B" />B   
						     <input name="daan" type="checkbox" value="C" />C   
						     <input name="daan" type="checkbox" value="D" />D   
						        
						    </td>
						</tr>
<!--/*						<tr align='center' bgcolor="#FFFFFF" id="timuXuanxiangd" height="22">
						    <td width="25%" bgcolor="#FFFFFF" align="right">
						        分数：
						    </td>
						    <td width="75%" bgcolor="#FFFFFF" align="left">
						         <input type="text" name="fenshu" value="1" size="10" onpropertychange="onchange1(this.value)" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
						    </td>
						</tr>
*/-->						<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
						    <td width="25%" bgcolor="#FFFFFF" align="right">&nbsp;
						        
						    </td>
						    <td width="75%" bgcolor="#FFFFFF" align="left">
						       <input type="submit" value="提交" onclick="return check()"/>&nbsp; 
						       <input type="reset" value="重置"/>&nbsp;
						    </td>
						</tr>
					 </table>
			</form>
        <br class="spacer" />
      </div>
      <!--best end --> 
    </div>
    <!--rightBotMain end --> 
    <!--last panel start --> 
    <!--last panel end --> 
    <br class="spacer" />
  </div>
  
  <!--right panel end --> 
  <br class="spacer" />
</div>
<!--main end --> 
<!--footerMain start -->

<jsp:include flush="true" page="/qiantai/inc/incFoot.jsp"></jsp:include>

<!--footerMain end -->
</body>
</html>
